package com.mspbots.api.service.impl;

import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.api.service.TeamsMessageService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * com.mspbots.api.service.impl.TeamsMessageServiceImpl
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/4
 */
@Deprecated
@Service
public class TeamsMessageServiceImpl extends BaseGenericService implements TeamsMessageService {

    @Override
    public JsonNode selectPage(Map<String, Object> params) {
        JsonNode jsonNode = this.apiClient.get("/teams/user-messages/page", params).block();
        return jsonNode;
    }
}
